package com.benlai.newretail;

import com.benlai.newretail.config.dbconfig.DynamicDataSourceRegister;
import com.xxl.job.core.log.XxlJobLogger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@Import({DynamicDataSourceRegister.class})
public class Application {
    public static void main( String[] args ) {
        SpringApplication.run(Application.class,args);
        XxlJobLogger.log("job start success!");
    }
}
